﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Model.View.Use
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserInforVo
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// code
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string Head { get; set; }

        /// <summary>
        /// 性别（性别 0：未知、1：男、2：女）
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string Tele { get; set; }

        /// <summary>
        /// 是否有上级 true：不需要指定上级 false：需要指定上级
        /// </summary>
        public bool Superior { get; set; } = true;

        /// <summary>
        /// 是否需要签合同
        /// </summary>
        public bool SignContract { get; set; }


        /// <summary>
        /// 会员等级（1：普通;2：V1;3: V2;4: V3）
        /// </summary>
        public int Grade { get; set; }
    }
}
